#define _CRT_SECURE_NO_WARNINGS 1
int add(int a, int b) {
    while (b) {
        int diff = (unsigned int)(a & b) << 1;
        a = a ^ b;
        b = diff;
    }
    return a;
}